package main.java.tmi.returncause.service;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

/**
 * 사용자 로그인을 처리하는 Interface
 *
 * @author min™
 * @since 2011. 07. 24
 *
 */
public interface ReturncauseService {
	
	
	/**
	 * Returncause search
	 *
	 * @param param
	 * @return ReturncauseVO List
	 * @throws SQLException 
	 */
	List<ReturncauseVO> getReturncauseView(Map<String,String> param) throws SQLException;
	
	/**
	 * Returncause count search
	 *
	 * @param param
	 * @return ReturncauseVO List
	 * @throws SQLException 
	 */
	int getReturncauseViewCount(Map<String,String> param) throws SQLException;
	
	/**
	 * Returncause Detail search
	 *
	 * @param param
	 * @return ReturncauseVO List
	 * @throws SQLException 
	 */
	Map<String,String> getReturncauseDetailView(Map<String,String> param) throws SQLException;
		
	/**
	 * Returncause save
	 *
	 * @param param
	 * @return boolean
	 * @throws SQLException 
	 */
	boolean addReturncause(Map<String,String> param) throws Exception;
	
	
	/**
	 * Returncause del
	 *
	 * @param param
	 * @return boolean
	 * @throws SQLException 
	 */
	boolean delReturncause(Map<String,String> param) throws Exception;
}


